Integrand size = 25, antiderivative size = 28 \[ \int \frac {\sqrt {a+b x}}{x^3 \sqrt {-a-b x}} \, dx=-\frac {\sqrt {a+b x}}{2 x^2 \sqrt {-a-b x}} \]
[Out]
Time = 0.00 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {23, 30} \[ \int \frac {\sqrt {a+b x}}{x^3 \sqrt {-a-b x}} \, dx=-\frac {\sqrt {a+b x}}{2 x^2 \sqrt {-a-b x}} \]
[In]
[Out]
Rule 23
Rule 30
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {a+b x} \int \frac {1}{x^3} \, dx}{\sqrt {-a-b x}} \\ & = -\frac {\sqrt {a+b x}}{2 x^2 \sqrt {-a-b x}} \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.00 \[ \int \frac {\sqrt {a+b x}}{x^3 \sqrt {-a-b x}} \, dx=-\frac {\sqrt {a+b x}}{2 x^2 \sqrt {-a-b x}} \]
[In]
[Out]
Time = 1.75 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.82
method | result | size |
gosper | \(-\frac {\sqrt {b x +a}}{2 x^{2} \sqrt {-b x -a}}\) | \(23\) |
default | \(\frac {\sqrt {-b x -a}}{2 \sqrt {b x +a}\, x^{2}}\) | \(23\) |
risch | \(\frac {i \sqrt {\frac {-b x -a}{b x +a}}\, \sqrt {b x +a}}{2 \sqrt {-b x -a}\, x^{2}}\) | \(42\) |
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.54 \[ \int \frac {\sqrt {a+b x}}{x^3 \sqrt {-a-b x}} \, dx=\frac {\sqrt {-b^{2}}}{2 \, b x^{2}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.99 (sec) , antiderivative size = 88, normalized size of antiderivative = 3.14 \[ \int \frac {\sqrt {a+b x}}{x^3 \sqrt {-a-b x}} \, dx=\frac {2 i a b^{3} \left (\frac {a}{b} + x\right )}{2 a^{4} - 4 a^{3} b \left (\frac {a}{b} + x\right ) + 2 a^{2} b^{2} \left (\frac {a}{b} + x\right )^{2}} - \frac {i b^{4} \left (\frac {a}{b} + x\right )^{2}}{2 a^{4} - 4 a^{3} b \left (\frac {a}{b} + x\right ) + 2 a^{2} b^{2} \left (\frac {a}{b} + x\right )^{2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 60 vs. \(2 (22) = 44\).
Time = 0.21 (sec) , antiderivative size = 60, normalized size of antiderivative = 2.14 \[ \int \frac {\sqrt {a+b x}}{x^3 \sqrt {-a-b x}} \, dx=-\frac {\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2}} b}{2 \, a^{2} x} + \frac {\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2}}}{2 \, a x^{2}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.28 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.18 \[ \int \frac {\sqrt {a+b x}}{x^3 \sqrt {-a-b x}} \, dx=\frac {i}{2 \, x^{2}} \]
[In]
[Out]
Time = 1.12 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.79 \[ \int \frac {\sqrt {a+b x}}{x^3 \sqrt {-a-b x}} \, dx=\frac {\sqrt {-a-b\,x}}{2\,x^2\,\sqrt {a+b\,x}} \]
[In]
[Out]